package com.asap.demo.ck.util;

public final class Constants {
	private Constants() {}
	
	public static final String DB_JDBC_DRIVER = "db.jdbc.driver";
	public static final String DB_JDBC_URL = "db.jdbc.url";
	public static final String DB_JDBC_USER = "db.jdbc.user";
	public static final String DB_JDBC_SECRET = "db.jdbc.password";
	public static final String DB_MODE="db.mode";

	public static final String CK_JDBC_DRIVER = "ck.jdbc.driver";
	public static final String CK_JDBC_URL = "ck.jdbc.url";
	public static final String CK_JDBC_USER = "ck.jdbc.user";
	public static final String CK_JDBC_SECRET = "ck.jdbc.password";
	public static final String CK_JDBC_PORT = "ck.jdbc.port";

	public static final String KAFKA_BROKER = "kafka.broker";
	public static final String INPUT_TOPIC = "input.topic";
	public static final String INSERT_DB_TYPE = "insert_db_type";


	public static final String INITAL_POOL_SIZE = "initial.pool.size";
	public static final String MIN_POOL_SIZE = "min.pool.size";
	public static final String MAX_POOL_SIZE = "max.pool.size";
	public static final String MAX_STATE_ELEMENTS = "max.state.ements";
	public static final String MAX_IDLE_TIME = "max.idle.time";

	public static final int PARAM_NUMBER = 2;
	public static final int SYSTEM_EXIT = -1;
	
	public static final String KAFKA_NO_DATA_SLEEP = "kafka.nodata.sleep";
	public static final int KAFKA_NO_DATA_SLEEP_DEFAULT = 50;
	public static final String BATCH_SIZE = "batch.size";
	
	public static final String DB_COMMIT_WAIT_PERIOD = "db.commit_wait_period";

	public static final String GROUP_MASTER = "master";
	public static final String GROUP_SERVANT = "servant";

	public static final String TOPIC_PARENT_FIELD = "topic.parent.field";
	public static final String DB_UUID_FIELD = "db.uuid.field";
	public static final String EXISTS_PARENT_TABLE = "exists.parent.table";
	public static final String TRANS_TABLE = "trans.table";
	public static final String SRC_FIELD = "src.field";
	public static final String TRANS_FIELD = "trans.field";
	public static final String STATISTIC_FIELD = "statistic.field";
	public static final String PHASE_FIELD = "phase.field";
	public static final String AUS_INDEX_FIELD = "aus_index.field";
	public static final String INTER = "inter";
	public static final String END = "end";


	public static final String COMMA_SEPARATOR = ",";
	public static final String COLON_SEPARATOR = ":";
	public static final String QUESTION_MARK = "?";
	/** Clickhouse Field Type */
	public static final String CK_FIELD_TYPE_INT_8 = "Int8";
	public static final String CK_FIELD_TYPE_INT_16 = "Int16";
	public static final String CK_FIELD_TYPE_INT_32 = "Int32";
	public static final String CK_FIELD_TYPE_INT_64 = "Int64";
	public static final String CK_FIELD_TYPE_FLOAT_32 = "Float32";
	public static final String CK_FIELD_TYPE_FLOAT_64 = "Float64";
	public static final String CK_FIELD_TYPE_DATE = "Date";
	public static final String CK_FIELD_TYPE_DATETIME = "DateTime";
	public static final String CK_FIELD_TYPE_STRING = "String";
}
